<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Vector Template Library (Vtl): Vtl::AABBox&lt; Scalar, Dimension &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Vector Template Library (Vtl)
   &#160;<span id="projectnumber">v1.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_vtl_1_1_a_a_b_box.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">Vtl::AABBox&lt; Scalar, Dimension &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_a_a_b_box_8h_source.html">AABBox.h</a>&gt;</code></p>

<p><a href="class_vtl_1_1_a_a_b_box-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a489359c5f60cb9fd899f1dbb597a95c1"><td class="memItemLeft" align="right" valign="top">typedef Eigen::Matrix&lt; Scalar, <br class="typebreak"/>
Dimension, 1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a></td></tr>
<tr class="memitem:a7e5298f3d3976f6b799ac3ec036164a8"><td class="memItemLeft" align="right" valign="top">typedef Eigen::Matrix&lt; Scalar, 3, 1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a></td></tr>
<tr class="memitem:a44276fff6cf9f37d7cd537dbdba3880b"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
Eigen::ParametrizedLine<br class="typebreak"/>
&lt; Scalar, Dimension &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a44276fff6cf9f37d7cd537dbdba3880b">ParametrizedLine</a></td></tr>
<tr class="memitem:a85d1c3d9b76546addd7f711aeb0c024e"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/>
Eigen::ParametrizedLine<br class="typebreak"/>
&lt; Scalar, 3 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a85d1c3d9b76546addd7f711aeb0c024e">ParametrizedLineX3d</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8a10bc3599e6c25560bd932557ece10a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a8a10bc3599e6c25560bd932557ece10a">AABBox</a> (const double &amp;_Eps=1e-4)</td></tr>
<tr class="memdesc:a8a10bc3599e6c25560bd932557ece10a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. Sets the bounding box to an empty (uninitialized) state.  <a href="#a8a10bc3599e6c25560bd932557ece10a"></a><br/></td></tr>
<tr class="memitem:a0d4a9a581186ef52936bad00069b7ed9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a0d4a9a581186ef52936bad00069b7ed9">AABBox</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;_Min, const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;_Max, const double &amp;_Eps=1e-4)</td></tr>
<tr class="memdesc:a0d4a9a581186ef52936bad00069b7ed9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. Sets the bounding box to a NOT empty (initialized) state.  <a href="#a0d4a9a581186ef52936bad00069b7ed9"></a><br/></td></tr>
<tr class="memitem:a77476077b13c218952a2703735b0b179"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a77476077b13c218952a2703735b0b179">getExtent</a> () const </td></tr>
<tr class="memdesc:a77476077b13c218952a2703735b0b179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns vector between the maximum and minimum edge.  <a href="#a77476077b13c218952a2703735b0b179"></a><br/></td></tr>
<tr class="memitem:a2afaaf9e1723b14bf2f2aa8af9840254"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a2afaaf9e1723b14bf2f2aa8af9840254">getCenter</a> () const </td></tr>
<tr class="memdesc:a2afaaf9e1723b14bf2f2aa8af9840254"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the center point of the bounding box.  <a href="#a2afaaf9e1723b14bf2f2aa8af9840254"></a><br/></td></tr>
<tr class="memitem:a28b1b7d5995f6e506bd77d829aa8a4f2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a28b1b7d5995f6e506bd77d829aa8a4f2">Reset</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;_Point)</td></tr>
<tr class="memdesc:a28b1b7d5995f6e506bd77d829aa8a4f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the bounding box the given point. Sets the bounding box to NOT empty (initialized) state.  <a href="#a28b1b7d5995f6e506bd77d829aa8a4f2"></a><br/></td></tr>
<tr class="memitem:ac460935fa714eda53b4f56ccaaf0cfa1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#ac460935fa714eda53b4f56ccaaf0cfa1">Reset</a> ()</td></tr>
<tr class="memdesc:ac460935fa714eda53b4f56ccaaf0cfa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the bounding box. Sets the bounding box to empty (uninitialized) state.  <a href="#ac460935fa714eda53b4f56ccaaf0cfa1"></a><br/></td></tr>
<tr class="memitem:a2d09608f6c2bd28481c114e71c5db402"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a2d09608f6c2bd28481c114e71c5db402">AddInPoint</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;_Point)</td></tr>
<tr class="memdesc:a2d09608f6c2bd28481c114e71c5db402"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the point to expand bounding box. Only if the given point is outside, the bounding box shall expand. Or the point will be ignored.  <a href="#a2d09608f6c2bd28481c114e71c5db402"></a><br/></td></tr>
<tr class="memitem:aaf59e5cda1d26515a827855baa338f9c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#aaf59e5cda1d26515a827855baa338f9c">Contains</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;_Point) const </td></tr>
<tr class="memdesc:aaf59e5cda1d26515a827855baa338f9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the given point is inside the bounding box.  <a href="#aaf59e5cda1d26515a827855baa338f9c"></a><br/></td></tr>
<tr class="memitem:ab1cae69a8f46badabea1fe72afdc1633"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#ab1cae69a8f46badabea1fe72afdc1633">IntersectWithBox</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html">AABBox</a> &amp;_Box) const </td></tr>
<tr class="memdesc:ab1cae69a8f46badabea1fe72afdc1633"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the given bounding box intersects.  <a href="#ab1cae69a8f46badabea1fe72afdc1633"></a><br/></td></tr>
<tr class="memitem:a7aa4a2614ce1a23acc4127d13fba79c8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7aa4a2614ce1a23acc4127d13fba79c8">IntersectWithLine</a> (const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a44276fff6cf9f37d7cd537dbdba3880b">ParametrizedLine</a> &amp;_Line) const </td></tr>
<tr class="memdesc:a7aa4a2614ce1a23acc4127d13fba79c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the given line intersects.  <a href="#a7aa4a2614ce1a23acc4127d13fba79c8"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5e371769787d062c147d6bec7adefc3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a5e371769787d062c147d6bec7adefc3f">min</a></td></tr>
<tr class="memitem:aa6340d1f0996be6aa66665cf4a1c9bda"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#aa6340d1f0996be6aa66665cf4a1c9bda">max</a></td></tr>
<tr class="memitem:a3ed76b654dddf20fd2b3777afecdffbc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a3ed76b654dddf20fd2b3777afecdffbc">is_empty</a></td></tr>
<tr class="memitem:a5899b9e42f6dc952cb590ed7a7a34b75"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a5899b9e42f6dc952cb590ed7a7a34b75">eps</a></td></tr>
</table>
<h3>template&lt;typename Scalar, int Dimension&gt;<br/>
 class Vtl::AABBox&lt; Scalar, Dimension &gt;</h3>

<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a44276fff6cf9f37d7cd537dbdba3880b"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Eigen::ParametrizedLine&lt;Scalar, Dimension&gt; <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a44276fff6cf9f37d7cd537dbdba3880b">ParametrizedLine</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a85d1c3d9b76546addd7f711aeb0c024e"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Eigen::ParametrizedLine&lt;Scalar, 3&gt; <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a85d1c3d9b76546addd7f711aeb0c024e">ParametrizedLineX3d</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a489359c5f60cb9fd899f1dbb597a95c1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Eigen::Matrix&lt;Scalar, Dimension, 1&gt; <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7e5298f3d3976f6b799ac3ec036164a8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Eigen::Matrix&lt;Scalar, 3, 1&gt; <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8a10bc3599e6c25560bd932557ece10a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html">AABBox</a> </td>
          <td>(</td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>_Eps</em> = <code>1e-4</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. Sets the bounding box to an empty (uninitialized) state. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Eps</td><td>(optional) Epsilon, increased value will result reduced accuracy of computation. Defaults to 1e-4. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0d4a9a581186ef52936bad00069b7ed9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html">AABBox</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>_Min</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>_Max</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double &amp;&#160;</td>
          <td class="paramname"><em>_Eps</em> = <code>1e-4</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. Sets the bounding box to a NOT empty (initialized) state. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Min</td><td>minimum edge, has the lowest values of all axis. Should be of the same type(Scalar &amp; Dimension). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">_Max</td><td>maximum edge, has the highest values of all axis. Should be of the same type(Scalar &amp; Dimension). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">_Eps</td><td>(optional) Epsilon, increased value will result reduced accuracy of computation. Defaults to 1e-4. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2d09608f6c2bd28481c114e71c5db402"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a2d09608f6c2bd28481c114e71c5db402">AddInPoint</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>_Point</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds the point to expand bounding box. Only if the given point is outside, the bounding box shall expand. Or the point will be ignored. </p>
<p>If the bounding box is in empty state, it will reset the bounding box to the given point. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Point</td><td>should be of the same type(Scalar &amp; Dimension). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaf59e5cda1d26515a827855baa338f9c"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#aaf59e5cda1d26515a827855baa338f9c">Contains</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>_Point</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the given point is inside the bounding box. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Point</td><td>should be of the same type(Scalar &amp; Dimension). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>bool returns TRUE if inside. </dd></dl>

</div>
</div>
<a class="anchor" id="a2afaaf9e1723b14bf2f2aa8af9840254"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a> <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a2afaaf9e1723b14bf2f2aa8af9840254">getCenter</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the center point of the bounding box. </p>
<dl class="section return"><dt>Returns:</dt><dd>VectorX3d </dd></dl>

</div>
</div>
<a class="anchor" id="a77476077b13c218952a2703735b0b179"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a> <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a77476077b13c218952a2703735b0b179">getExtent</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns vector between the maximum and minimum edge. </p>
<dl class="section return"><dt>Returns:</dt><dd>VectorX3d </dd></dl>

</div>
</div>
<a class="anchor" id="ab1cae69a8f46badabea1fe72afdc1633"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#ab1cae69a8f46badabea1fe72afdc1633">IntersectWithBox</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html">AABBox</a>&lt; Scalar, Dimension &gt; &amp;&#160;</td>
          <td class="paramname"><em>_Box</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the given bounding box intersects. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Box</td><td>should be of the same type(Scalar &amp; Dimension). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>bool returns TRUE if it does intersect. </dd></dl>

</div>
</div>
<a class="anchor" id="a7aa4a2614ce1a23acc4127d13fba79c8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a7aa4a2614ce1a23acc4127d13fba79c8">IntersectWithLine</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a44276fff6cf9f37d7cd537dbdba3880b">ParametrizedLine</a> &amp;&#160;</td>
          <td class="paramname"><em>_Line</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks if the given line intersects. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Line</td><td>should be of the same type(Scalar &amp; Dimension). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>bool returns TRUE if it does intersect. </dd></dl>

</div>
</div>
<a class="anchor" id="a28b1b7d5995f6e506bd77d829aa8a4f2"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a28b1b7d5995f6e506bd77d829aa8a4f2">Reset</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_vtl_1_1_a_a_b_box.html#a489359c5f60cb9fd899f1dbb597a95c1">VectorType</a> &amp;&#160;</td>
          <td class="paramname"><em>_Point</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets the bounding box the given point. Sets the bounding box to NOT empty (initialized) state. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">_Point</td><td>should be of the same type(Scalar &amp; Dimension). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac460935fa714eda53b4f56ccaaf0cfa1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a28b1b7d5995f6e506bd77d829aa8a4f2">Reset</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets the bounding box. Sets the bounding box to empty (uninitialized) state. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5899b9e42f6dc952cb590ed7a7a34b75"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a5899b9e42f6dc952cb590ed7a7a34b75">eps</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3ed76b654dddf20fd2b3777afecdffbc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a3ed76b654dddf20fd2b3777afecdffbc">is_empty</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa6340d1f0996be6aa66665cf4a1c9bda"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a> <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#aa6340d1f0996be6aa66665cf4a1c9bda">max</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5e371769787d062c147d6bec7adefc3f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar, int Dimension&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_vtl_1_1_a_a_b_box.html#a7e5298f3d3976f6b799ac3ec036164a8">VectorX3d</a> <a class="el" href="class_vtl_1_1_a_a_b_box.html">Vtl::AABBox</a>&lt; Scalar, Dimension &gt;::<a class="el" href="class_vtl_1_1_a_a_b_box.html#a5e371769787d062c147d6bec7adefc3f">min</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>W:/Products/Vtl/branches/v1.0/Vtl/Vtl/include/Vtl/<a class="el" href="_a_a_b_box_8h_source.html">AABBox.h</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_vtl.html">Vtl</a>      </li>
      <li class="navelem"><a class="el" href="class_vtl_1_1_a_a_b_box.html">AABBox</a>      </li>

    <li class="footer">Generated on Sun Apr 22 2012 14:58:32 for Vector Template Library (Vtl) by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
